package com.xbongbong.bi.domain;

import com.xbongbong.pro.domain.entity.DataSetDolphinEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * @author Administrator
 */
@Mapper
@Repository
public interface DataSetDolphinDao {
    int insert(DataSetDolphinEntity entity);
    
    DataSetDolphinEntity getByKey(@Param("key") Long key, @Param("corpid") String corpid );

    DataSetDolphinEntity getByDataSetId(@Param("setId") Long setId, @Param("corpid") String corpid );

    int update(DataSetDolphinEntity entity);

    List<DataSetDolphinEntity> findEntitys(@Param("param") Map<String, Object> param);

    Integer getEntitysCount(@Param("param") Map<String, Object> param);
}
